![]() |
MBarHookProcPtr |
||||
Header: | Menus.h | Carbon status: | Unsupported | |
typedef SInt16(* MBarHookProcPtr) ( Rect *menuRect );
You would declare your function like this if you were to name it MyMBarHookCallback:
SInt16 MyMBarHookCallback ( Rect *menuRect );
Not supported in Carbon.
Accessing the MBarHook low-memory global variable is not supported in Carbon. Use the Carbon Event Manager to work with menu bar events instead.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)